<template>
  <!-- ajax async javascript and xml.   async -->
  <div>
    父组件:{{ age }}
    <br>
    <Son1 :age.sync="age" :abc.sync="num" />
    <!-- <Son1 :abc="num" @update:abc="val=>num=val"/> -->
    <!-- <Son v-model="num"/> -->
    <!-- <Son :value="num" @input="hInput" /> -->
  </div>
</template>

<script>
// import Son from './son'
import Son1 from './son1'
export default {
  components: {
    Son1
  },
  data() {
    return {
      num: 100,
      age: 18
    }
  }
  // methods: {
  //   hInput(val) {
  //     this.num = val
  //   }
  // }
}
</script>
